$OpenBSD: patch-examples_f77_CMakeLists_txt,v 1.1 2009/04/05 16:21:55 steven Exp $
--- examples/f77/CMakeLists.txt.orig	Sat Jun  7 09:31:42 2008
+++ examples/f77/CMakeLists.txt	Sat Jun  7 09:32:04 2008
@@ -85,7 +85,7 @@ endforeach(STRING_INDEX ${f77_STRING_INDICES})
 add_custom_target(f77_examples ALL DEPENDS ${f77_SRCS})
 
 install(FILES ${f77_SRCS} 
-DESTINATION ${DATA_DIR}/examples/f77
+DESTINATION ${EXAMPLE_DIR}/f77
 )
 
 set(F77 ${CMAKE_Fortran_COMPILER})
@@ -95,6 +95,6 @@ ${CMAKE_CURRENT_BINARY_DIR}/Makefile.examples
 )
 
 install(FILES ${CMAKE_CURRENT_BINARY_DIR}/Makefile.examples 
-DESTINATION ${DATA_DIR}/examples/f77
+DESTINATION ${EXAMPLE_DIR}/f77
 RENAME Makefile
 )
